package architect.design.patterns.structural.composite.simple;

/**
 * 雇员
 *
 * @author guanxin
 * @date 2018/5/5 14:55
 */

public interface IEmployee {

    void add(IEmployee employee);

    void remove(IEmployee employee);

    IEmployee getChild(int i);

    String getName();

    double getSalary();

    void print();
}
